         CMPA      .
 : (1)  , (2)  CMPA? ( ).

:     ( ),     .
   ,    ,       CMPA   .

0) 
- REQUIRED_GLOBALS   /  ,          100%.
-    //  (       ).

1)     ()
1.1) REQUIRED_GLOBALS   
- ():   1+  / 1+ .
- ():   1+  / 1+ .
-     2  (:  ,  )    .

1.2) /
- nt    ( : n=10, b[0]..b[9], b[19]  ..).
-   ( 1 )    __bits(8)   / ,   .

1.3)   ()
-    REQUIRED_GLOBALS   `int`.
      : `int __bits(n) mas[j]`.
-          / (: `char`, `unsigned char`, `unsigned`,  ..)      .
-     REQUIRED_GLOBALS (/).        ,       .

1.4)  
-  // (:  ,   ,     ..).
-       (: f[0]   , b[0]..b[9],    ).     .

1.5)     ()
-      /      .
  -      (        ),  / .
  -       ,    (  error_21)    .
-      REQUIRED_GLOBALS,    / (  ,     ).

1.6)     ()
-         .
  -    nt   : 0..nt-1.
  -    n+1   : 0..n.
  -    n   : 0..n-1.
-   <= vs <  :   1  (off-by-one)  ,           .

2)       (    )
 1:    /.
-        :
  - <name>: ... (: x: ...)  <name>   REQUIRED_GLOBALS.
  -   <name>:    <name>:       REQUIRED_GLOBALS.
-        :
  - <name>: ... (: res: 19)  <name>   REQUIRED_GLOBALS.
  - <name> - ... (: kol - )       REQUIRED_GLOBALS.

     /        REQUIRED_GLOBALS.

 2: ,   .
-        ( <name>[0], <name>[i],   <name>[0]..),   .
-       , ,  ,   .
-        ( ),     .

 3:   100%  .
-  /  REQUIRED_GLOBALS         .
-          ( ,   ).
-       .

3)   CMPA ()
-        ( ).
-   REQUIRED_GLOBALS     ( main),    main.
-      __in  __out.
-     __in/__out  ,    ,          .
-       .
-  ,   /,     .
-  while    .

4)   __bits(...)
-         /  (,    ,   1 ), :
  -   REQUIRED_GLOBALS ( ,  ),     /,    __bits(8);
  - __bits(...)      .
-         __bits(...)   .

5)   unsigned
-        ,  unsigned  int.
-     unsigned  int   .
- :     `unsigned` (  -`int` )   REQUIRED_GLOBALS,       .

6)   ()
-    ,   .
-      .
-    (. ),         ERRORS.

7)       ()
     (  error.txt).                     .

 :
-     ,     ,     `error_N`.
-        ERRORS   ( ): ....

 :
-    .
- error_6  error_14     (    ),      .

 :

error_1:  <CMP>   <TCMP>,   nt  .
             i < 19   i < 20,   20  .
             i <= 20   i < 20,   20  .

error_2:      __in.

error_3:  <V>    .
             kol    
             b    

error_4:    <A>   <V>  n     __bits(nt).
               b   kol  1     __bits(1)

error_5:  i++   while.

error_6:   else if     .

error_7:    +=   ,  =.

error_8:     <A>   .
                b   .

error_9:   <A>   nt .
              b   20 .

error_10:      ,   .

error_11:   if  :    <TCMP>,  <CMP>.
              if  :    <,  <.

error_12:    break.

error_13:  0   <V>, -    0.
             0   kol, -    0.

error_14:   if/else.
              if.

error_15:   if     .
              if  4  '4'.

error_16:        .
               <A>,   .
                <V>,   .
               x,  mas.
                kol,  res.

error_17:   __bits(nt)   <A> /  <V>.
              __bits(8)   b.
              __bits(8)   kol.

error_18:  `unsigned`  `int` ,        .
                (  )   `int`  `unsigned`.

error_20:       ,    main.
             x   main.
             res   main.

error_21:       .
                         .

error_22:      .

8)   ()
   .

CODE:
```cmpa
<  CMPA? >
```

ERRORS:
```
- <   ,      (13 )>
- <   ,     (12 )>
```

...

  ERRORS:
-    ,         .
-      (     ).
-    .
-       .
-   error_N  /           nt.
-         ( ): ...   ,    .

9)    ()
-  REQUIRED_GLOBALS   .
-       100%.
-    __in/__out.
-     .
-    .
-      (nt)   .
- /  .
-    /    .
-      (     ).
